<?php
jimport('joomla.application.component.controller');

class bgController extends JController {
    public function __construct(){
        parent::__construct();
        $this->model = $this->getModel(); 
    }
      
    /* remove records mfac */
    public function remove(){
    	$cid = JRequest::getVar('cid');
               
        $this->model->remove($cid);
        $this->setRedirect('index.php?option=com_msmfac'); 
    }
}